<?
session_start();
ob_start();
if(!isset($_SESSION["admin_key"]) &&$page_id!="login") {header("location:index.php");}
include("../conf/config.php"); 
include("../conf/database.php");
include("../conf/tools.php");
include("../includes/session.php");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>
			Brahma Kumaris IT & Communications
		</title>
		<link href="includes/admin_style.css" rel="stylesheet" type="text/css" />
		<script src="../prototype.js" language="javascript"></script>
		<script src="../registrant.js?v7" language="javascript"></script>
		<script src="../calendarDateInput.js" language="javascript"></script>
	</head>
	<body class="bodybg">
		<table width="900" cellpadding="0" align="center" cellspacing="0" border="0">
			<tr>
				<td valign="top" colspan="2" width="100%" >
					<div class="cleardiv"></div>
					<div  class="headerbg">
						
					</div>
					<div class="cleardiv"></div>
					
					
					<div>
						<? if($page_id!="login"){ ?>
						<div class="fleft" style="width:400px" >
							<ul class="topMenu">
								<li><a <?=getMenuClass(1,$mindex)?> href="registrants.php"> Members</a></li>
								<li><a <?=getMenuClass(1,$mindex)?> href="seva_req_list.php"> Sevadhari Requests</a></li>
								<li><a <?=getMenuClass(2,$mindex)?> href="voip_list.php"> VoIP Request</a></li>
								<li><a <?=getMenuClass(2,$mindex)?> href="email_list.php"> Email List </a> </li>
								<li><a <?=getMenuClass(2,$mindex)?> href="news_list.php"> News & Events </a> </li>
								<li><a <?=getMenuClass(2,$mindex)?> href="site_log.php"> Logs</a></li>
									
							</ul>
						</div>

						<div class="fnone">
							<div class="fright" style="margin-top:6px;border:0px solid;margin-right:20px;">
							<span class="profile" >
						
								<span><b>Welcome <?=getRoleTitle()?>  :: </b></span>
								<span><a href="logout.php">Log out</a></span>
								
							</span>
							</div>
						</div>
						<? } ?>
						
						
					</div>
					<div class="cleardiv"></div>
					<div class="maincontent" style="min-height:500px;padding:10px 10px 10px 10px;border:1px solid #ccc;border-top:0px;" >
					
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
						<tr>
							
							<td valign="top"  style="padding-left:10px;">
							<div >
								<div class="page_title"><?=$page_title?> </div>
								
								